{%autoescape None%}
<div id="manager_total_stock_ability" style="width: 800px;height:400px;"></div>
<script type="text/javascript">

var chartDom = document.getElementById('manager_total_stock_ability');
var myChart = echarts.init(chartDom);
var option;

option = {
    title: {
        // text: '基础雷达图'
    },
    tooltip: {},
    legend: {

    },
    radar: {
        // shape: 'circle',
        name: {

        },
        indicator: [
            { name: '收益能力', max: 1},
            { name: '夏普比率', max: 1},
            { name: '信息比率', max: 1},
            { name: '风险控制', max: 1},
            { name: '管理时长', max: 1},
            { name: '管理规模', max: 1}
        ]
    },
    series: [{
        // name: '预算 vs 开销（Budget vs spending）',
        type: 'radar',
        // areaStyle: {normal: {}},
        data: [
            {
                value: [{{manager_total_stock_ability_document["excess_return_pct"]}},
                        {{manager_total_stock_ability_document["sharpe_ratio_pct"]}},
                        {{manager_total_stock_ability_document["information_ratio_pct"]}},
                        {{manager_total_stock_ability_document["annualized_volatility_pct"]}},
                        {{manager_total_stock_ability_document["manage_days_pct"]}},
                        {{manager_total_stock_ability_document["aum_pct"]}}],
                name: '股混基金能力圈'
            }
        ]
    }]
};

option && myChart.setOption(option);

</script>